package example8;

public class Rectangle extends Polygon
{
	public  Rectangle(int w, int h){ 
        supper (w);
        height=h;
   }
   public int area (){
             return (width * height);
    }
}
